/*
 * 错误码相关
 *
 * author: lishutong
 * site: https://lishutong1024.cn / https://lishutong1024.github.cn
 */
#ifndef OS_ERR_H
#define OS_ERR_H

typedef enum _os_err_t {
    OS_ERR_OK = 0,
    OS_ERR_PARAM = -1,
    OS_ERR_STATE = -2,
    OS_ERR_REMOVE = -3,
    OS_ERR_TMO = -4,
    OS_ERR_NONE = -5,
    OS_ERR_LOCKED = -6,
    OS_ERR_UNLOCKED = -7,
    OS_ERR_OWNER = -8,
    OS_ERR_CLEAR = -9,
    OS_ERR_FULL = -10,
}os_err_t;

#define OS_NULL         (void *)0               // 空指针

#endif // OS_ERR_H
